<?php

class BonusConvertProductPageLink extends Extension {
	function getBonusConvertProduct(){
        $page = BonusConvertProduct::get()->find('ClassName', 'BonusConvertProduct');
        if($page) return $page;
    }
    
    function getBonusConvertProductLink() {
        $page = $this->getBonusConvertProduct();
        if($page) return $page->Link();
    }
	
    function getBonusConvertProductStatement(){
        $page = BonusConvertProductStatementPage::get()->find('ClassName', 'BonusConvertProductStatementPage');
        if($page) return $page;
    }
    
    function getBonusConvertProductStatementLink() {
        $page = $this->getBonusConvertProductStatement();
        if($page) return $page->Link();
    }
}
